package com.sumainfor.schedule.feign;


import com.sumainfor.common.util.JsonResult;
import com.sumainfor.schedule.fallback.ZpcTenantFallback;
import org.omg.CORBA.OBJ_ADAPTER;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @author Meng
 * @InterfaceName ZpcTenantFeign
 * @date 2019/12/29 14:42
 * @description: TODO
 */
@FeignClient(name = "tANGNEST-WX-TENANt", fallback = ZpcTenantFallback.class)
public interface ZpcTenantFeign {

    @ResponseBody
    @PostMapping("/provider/key/tenant/schedulten/getTenOpenId")
    JsonResult getTenOpenId(@RequestBody Map<String,Object> params);
}
